Repository navigation
chore(company): let workers self-merge green PRs and make lead adaptive auditor - #2
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 82d23edaca
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| - Every agent owns **the entire product outcome**, not a token-sized task. Its assigned scope is a *conflict-avoidance preference*; if idle, take the best unclaimed, shippable work without clobbering in-flight changes. | ||
| - On every execution read `main`, PRs, recent commits, CI, and these acceptance criteria; then **write actual code** and run available verification. Prefer one sizeable coherent PR per substantial increment. Avoid duplicate PRs and repetitive planning-only runs. | ||
| - Merge a verified end-to-end increment at the first safe opportunity. Do not delay integration till morning. Do not merge known broken code. CI green alone is not proof of browser interactivity. | ||
| - **Worker-owned integration:** Each of the four developers creates and merges its OWN verified PR into `main` as soon as it is safe. Never push a raw commit directly to `main`. Inspect the PR file diff and scope, validate actual passing GitHub Actions against its current head, confirm no known severe gameplay regression and no merge conflict against current `main`; squash-merge with expected head SHA; verify main and continue developing. If these checks are unavailable, pending, failed or conflicted, leave PR open and fix or hand off exact blocker. No forced merges, bypasses or changes to the site homepage or other game. CI green alone is not proof of browser interactivity. |
There was a problem hiding this comment.
Retest the current base before each worker self-merges
When the two workers assigned to the same game merge concurrently, validating Actions for the PR head and supplying an expected head SHA does not pin main; the --match-head-commit contract only requires the pull-request head to match. If main advances after validation, GitHub can squash-merge a nonconflicting combination that neither CI nor the browser check exercised. Require an updated branch with rerun checks, a merge queue, or an equivalent expected-base guard before merging.
Useful? React with 👍 / 👎.
Clarifies company policy for the overnight game experiment. Each game worker now owns branch→PR→verified PR-head CI→safe squash merge into main; direct main pushes and failed/unverified/conflicted merges remain forbidden. Technical lead audits merged work, fixes blockers, rewrites demonstrably stalled workers' prompts, and acts after one unproductive run. No changes to game code or deployment workflow.